﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Data.Entity;
using JoeResume.DatabaseInitialization;
using JoeResume.Model;

namespace ConsoleApp
{
    class Program
    {
        static void Main(string[] args)
        {
            DbContext context = new ResumeDbContext();
            context.Database.Initialize(false);
            var pi = context.Set<PersonalInfo>();
            foreach (var personalInfo in pi)
            {
                Console.WriteLine(personalInfo.Name);
            }
            Console.Read();
        }
    }
}
